// 员工社保信息
import request from "@/utils/https/requests";

// 列表
export function menSbInfoList(data: any) {
    return request({
        url: "/menSbInfo/list", method: "post", data,
    });
}

// 添加
export function postAddMenSbInfo(data: any) {
    return request({
        url: "/menSbInfo/postAdd", method: "post", data,
    });
}

// 修改
export function postModMenSbInfo(data: any) {
    return request({
        url: `/menSbInfo/postMod/{${data.id}`, method: "post", data,
    });
}

// 删除
export function postDeleteMenSbInfo(id: string) {
    return request({
        url: `/menSbInfo/postDelete/${id}`, method: "post",
    });
}

// 逻辑 删除
export const postLogicDeleteMenSbInfo = (id) => {
    return request({
        url: `/menSbInfo/postLogicDelete/${id}`, method: 'post'
    })
}

// 详情
export function menSbInfoDetail(id: string) {
    return request({
        url: `/menSbInfo/detail/${id}`, method: "post",
    });
}